package tk.jfree.example.es.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Cheng.Wei
 * @date 2019/04/28 23:20
 */
@Getter
@Setter
@ToString
@ApiModel
public class ArticleForm implements Serializable {
    private static final long serialVersionUID = -2706595115695586033L;
    @ApiModelProperty(value = "标题", required = true)
    private String title;
    @ApiModelProperty(value = "作者", required = true)
    private String author;
    @ApiModelProperty(value = "内容", required = true)
    private String content;
}
